package org.wuqi.api.model;

import org.wuqi.bean.BidInfo;
import org.wuqi.bean.LoanInfo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * @author jjj
 * @program: earnest-money
 * @description:TODO
 * @date 2023-12-27 15:45:42
 */
public class ProductDetail implements Serializable {
    //详情信息
    private LoanInfo loanInfo;
    // 剩余募集金额
    private BigDecimal surplus;
    //投资记录集合
    private List<UserList> recordList;
    public ProductDetail() {
    }

    public ProductDetail(LoanInfo loanInfo, BigDecimal surplus, List<UserList> recordList) {
        this.loanInfo = loanInfo;
        this.surplus = surplus;
        this.recordList = recordList;
    }

    public LoanInfo getLoanInfo() {
        return loanInfo;
    }

    public void setLoanInfo(LoanInfo loanInfo) {
        this.loanInfo = loanInfo;
    }

    public BigDecimal getSurplus() {
        return surplus;
    }

    public void setSurplus(BigDecimal surplus) {
        this.surplus = surplus;
    }

    public List<UserList> getRecordList() {
        return recordList;
    }

    public void setRecordList(List<UserList> recordList) {
        this.recordList = recordList;
    }

    @Override
    public String toString() {
        return "ProductDetail{" +
                "loanInfo=" + loanInfo +
                ", surplus=" + surplus +
                ", recordList=" + recordList +
                '}';
    }
}
 
 